package com.teach.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

@Data
public class Product {
    private Long productId;

    private Integer productClassId;

    private String productManager;

    private String productName;

    private Float productPrice1;

    private Float productPrice2;

    private String productColors;
    
    private String productImgs;
    
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date productTime;

    private Boolean productOut;

    private String productIp;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date productCreateTime;

    private Integer productSales;

    private Integer productInventory;

    private String productContent;


}